package h.ku.eval
{
	public class BooleanAnd extends FunctionEval
	{
		public function BooleanAnd(a:Array)
		{
			super("",a)
		}
		
		protected override function finishArgEval(value:*):void
		{
			if(argIndex == 0)
			{
				if(!value){
					finishFunctionEval(value)
				}else{
					argIndex = 1
					beginArgEval()
				}
			}
			if(argIndex == 1){
				finishFunctionEval(value)
			}
		}
	}
}